Skip to content

Fix gocritic warnings#563

Merged
JamieMagee merged 1 commit intomainfrom
jamiemagee/fix-gocritic-warnings
Feb 9, 2026
Merged

Fix gocritic warnings#563
JamieMagee merged 1 commit intomainfrom
jamiemagee/fix-gocritic-warnings

Conversation

@JamieMagee
Copy link
Member

Fixes the 3 gocritic warnings that show up when running golangci-lint run ./...:

  • proxy.go — missing space between // and comment text
  • run.goif/else if/else chain in pullImageWithAuth converted to a switch
  • job_test.go — single-case type switch replaced with an if + type assertion

All mechanical, no behavior changes.

@JamieMagee JamieMagee requested review from a team as code owners February 9, 2026 22:21
@JamieMagee JamieMagee enabled auto-merge February 9, 2026 22:21
- Add missing space after // in a comment (proxy.go)
- Rewrite if/else if/else to switch in pullImageWithAuth (run.go)
- Replace single-case type switch with if in test helper (job_test.go)
@JamieMagee JamieMagee force-pushed the jamiemagee/fix-gocritic-warnings branch from 82aab02 to 5337c83 Compare February 9, 2026 22:33
@JamieMagee JamieMagee added this pull request to the merge queue Feb 9, 2026
Merged via the queue into main with commit 8fee80c Feb 9, 2026
3 of 5 checks passed
@JamieMagee JamieMagee deleted the jamiemagee/fix-gocritic-warnings branch February 9, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants